package com.sdp.khy.baotou.db.khy_package_logistics.service.impl;

import com.sdp.khy.baotou.db.khy_package_logistics.entity.KhyPackageLogistics;
import com.sdp.khy.baotou.db.khy_package_logistics.mapper.KhyPackageLogisticsMapper;
import com.sdp.khy.baotou.db.khy_package_logistics.service.IKhyPackageLogisticsService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zsp
 * @since 2023-11-29
 */
@Service
public class KhyPackageLogisticsServiceImpl extends ServiceImpl<KhyPackageLogisticsMapper, KhyPackageLogistics> implements IKhyPackageLogisticsService {

	@Override
	public void removePackageLogisticsByPackageId(String packageId) {
		LambdaQueryWrapper<KhyPackageLogistics> queryWrapper = new LambdaQueryWrapper<>();
		queryWrapper.eq(KhyPackageLogistics::getPackageId, packageId);
		remove(queryWrapper);
		
	}

}
